<!DOCTYPE html>
<!-- This tests that the anonymous descendants of the textarea do not lose
  their attachment to parent objects -->
<html class="test-wait">
<canvas>
<textarea>
</textarea>
<script>
const canvas = document.querySelector('canvas');
const animation = canvas.animate([
  {"listStylePosition":"outside"}, {"listStylePosition":"inside"}],
  {"duration":100,"delay":0});
animation.addEventListener('finish', () => {
  document.documentElement.className = '';
});
</script>
</canvas>
